/*avatar*/
.f-avatar.f-avatar-circle {
    border-radius: 100%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.f-avatar.f-avatar-circle .f-avatar-image {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/*image 图像*/
.ide-image img {
    width: inherit;
    height: 100px;
    max-width: inherit;
    max-height: inherit;
}

/*数值控件*/
.ide-numeric-box .input-group .btn-group-number {
    height: 1.50003rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    background-color: #fff;
    border-left: 1px solid #d9d9d9;
}

.ide-numeric-box .input-group .btn-group-number .btn-number-flag {
    height: 50%;
    display: -webkit-box;
    display: flex;
    box-shadow: none;
    padding: 0 5px;
    margin-left: 1px;

    overflow: hidden;
    -webkit-transition: 0.1s linear;
    transition: 0.1s linear;
}

.ide-numeric-box .input-group .btn-group-number .btn-number-flag .number-arrow-chevron {
    -webkit-box-flex: 1;
    flex: 1;
    line-height: 1;
}

.ide-numeric-box .input-group .btn-group-number .btn-number-flag:hover {
    height: 60% !important;
}

.ide-numeric-box .input-group .btn-group-number .btn-number-flag:nth-child(2) {
    border-top: 1px solid #d9d9d9;
}

.ide-numeric-box input::-webkit-inner-spin-button,
.ide-numeric-box input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

.ide-numeric-box .input-group .btn-group-number .number-arrow-chevron {
    height: unset;
}

/*富文本*/
.ide-rich-text-box .f-form-control-textarea {
    padding: 0;
    border: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
}

/*数值区间*/
.ide-number-range .number-range {
    position: relative;
}

.ide-number-range .number-range .input-container {
    display: flex;
    padding: 0;
    align-items: center;
}

.ide-number-range .number-range .input-container .sub-input-group {
    -webkit-box-flex: 1;
    flex: 1;
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

.ide-number-range .number-range .input-container .sub-input-group .sub-input {
    width: 100%;
    border: none;
    outline: 0;
    background-color: rgba(0, 0, 0, 0);
    min-width: 2px;
    padding: 0.125rem 4px 0.125rem 0.5rem;
}

.ide-number-range .number-range .input-container .spliter {
    width: 15px;
    text-align: center;
}

.f-table-has-form .ide-number-range {
    height: 100%;
}

/** 智能输入框 */
.f-cmp-inputgroup.ide-input-group .f-state-disabled .input-group-append {
    display: flex;
}

/*external-container 引入外部组件的容器*/
.ide-external-container,
.ide-cmp-route-container {
    min-height: 100px;
    background: #fafafa;
    height: 100%;
    width: 100%;
    display: inline-block;
}

.ide-external-container::before,
.ide-cmp-route-container::before {
    content: "\e136";
    width: 2em;
    height: 2em;
    -webkit-font-smoothing: antialiased;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    display: inline-block;
    color: #ccc;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -1rem;
    margin-top: -1rem;
}

.ide-external-container::before {
    content: "\e136";
    font-family: FarrisExtend;
}

.ide-cmp-route-container::before {
    content: "\eb79";
    font-family: FarrisIcons;
}

.farris-component-ModalContainer .ide-external-container {
    min-height: 70px;
}

/* 复写 侧边栏 父级样式 */
.farris-component-Sidebar {
    position: initial !important;
    min-height: auto;
    margin-bottom: 0;
}

.farris-component-Sidebar.farris-nested {
    padding: 0 !important;
    border: none !important;
}

.f-sidebar-pos-right.f-sidebar-show .f-sidebar-main, .f-sidebar-pos-left.f-sidebar-show .f-sidebar-main {
    transform: None !important;
}

/*viewChange*/
.f-viewchange-view-none {
    display: none !important;
}

/*Section */
.ide-cmp-section .f-section-header .f-section-header--btn-placeholder {
    position: absolute;
    display: -webkit-inline-box;
    display: inline-flex;
    top: -30px;
    left: 0;
    opacity: 0;
    overflow: hidden;
    z-index: -90;
}

.ide-cmp-section .f-section-content .toolbar-btn-inline-flex,
.ide-cmp-section .f-section-header .toolbar-btn-inline-flex {
    display: -webkit-inline-box;
    display: inline-flex;
    overflow: hidden;
}

.ide-cmp-section .f-section-header--toolbar {
    -webkit-box-flex: 1;
    flex: 1;
    -webkit-box-align: center;
    align-items: center;
    width: 30%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    margin-left: 0.875rem;
}

.ide-cmp-section .f-section-content--toolbar {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    overflow: auto;
}

.ide-cmp-modal-footer .f-toolbar,
.ide-cmp-header .f-toolbar,
.ide-cmp-section .f-section-header .f-toolbar {
    justify-content: normal;
}

.ide-cmp-section.f-section-accordion.f-state-collapse>.f-section-content {
    display: none;
}

/* 小分组 fieldSet */
.ide-cmp-fieldSet .f-section-formgroup-inputs.drag-container {
    display: flex;
    flex-wrap: wrap;
}

.ide-cmp-fieldSet.f-section-formgroup.f-state-collapse .f-section-formgroup-inputs {
    display: none;
}

/* 若小分组没有间距，拖拽时会有控件位置晃动的情况 */
.farris-component-Form>.drag-container>.farris-component-FieldSet {
    margin-top: 10px;
    margin-bottom: 10px;
}

/** 列表 */
.ide-dataGrid .header-cell {
    height: 2.1875rem;
    overflow: hidden;
    padding: 0.4375rem 0;
    white-space: nowrap;
    width: 120px;
    flex-shrink: 0;
    background-color: #F4F5F9;
}

.ide-dataGrid .header-cell:hover {
    border-right: 2px solid #388FFF;
    background: #EDF5FF;
}

.ide-dataGrid .header-cell .caption {
    border-right: 1px solid #E6E9F0 !important;
    padding: 0 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.farris-component-DataGrid .cardViewPanel .farris-component-Component {
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    flex-basis: auto !important;
}

.farris-component-DataGrid .cardViewPanel .farris-component-Component .f-page {
    position: absolute !important;
}

.farris-component-ModalFooter .ide-cmp-modal-footer.showtype-sidebar .fe-modal-footer-base {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    background: #fff;
    padding: 0.875rem 1.5rem;
    box-shadow: none;
}

/** 筛选方案 **/
.f-section-scheme {
    background: #fff;
    margin: 0.5625rem 0.5rem 0;
}

/*Tag*/
.ide-cmp-tag .k-icon.k-i-close {
    font-size: 12px;
}

.ide-cmp-tag .k-icon.k-i-close:hover {
    cursor: pointer;
}

.ide-cmp-tag .btn {
    margin-left: 5px
}

.ide-cmp-tag .farris-tag-disabled {
    cursor: text;
}

/*穿梭框*/
.ide-cmp-multi-select {
    min-height: 200px;
}

.f-multi-select-list .search {
    position: relative;
}

.f-multi-select-list .search .form-control {
    line-height: 1.875;
    height: 1.875;
    outline: none;
}

/* .f-multi-select-list .f-table-norecords-content {
    margin: -10.0625rem 0 0 -0.225rem;
  } */

/*scroll-collapse-area 滚动収折组件,収折实现变动*/
.ide-cmp-collapsible-area.f-state-expand .fe-collapsible-container {
    height: auto;
}

.ide-cmp-collapsible-area.f-state-collapse .fe-collapsible-container {
    height: 0;
}

.ide-cmp-collapsible-area .fe-collapsible-icon-container {
    cursor: pointer;
}

/* 动态区域相关 */
.ide-cmp-dynamic-area.f-component-tabs .farris-tabs-title {
    align-items: center;
}

.ide-cmp-dynamic-area.f-component-tabs .addPanel span {
    font-size: 18px;
    text-align: center;
    width: 1.875rem;
    height: 1.875rem;
    line-height: 1.875rem;
    background-color: #fff;
    color: #85888e;
    border: 1px solid #85888e;
}

.ide-cmp-dynamic-area .farris-nav-tabs .nav-item .st-drop-close {
    opacity: 0;
}

.ide-cmp-dynamic-area .farris-nav-tabs .nav-item:hover .st-drop-close {
    opacity: .6;
}

.ide-cmp-dynamic-area .ide-external-container.add-dynamic::before {
    content: '\e11e';
}

/* table表格 */
.ide-cmp-table.table .widget-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #fff;
    background: #388FFF !important;
    padding: 3px 1px 1px 4px;
    z-index: 300;
    display: none;
}

.ide-cmp-table.table td {
    position: relative;
}

.ide-cmp-table.table td.dgComponentSelected .widget-panel {
    display: block;
}

/*查询*/
.ide-cmp-spreadsheet, .ide-cmp-charts {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ide-cmp-spreadsheet img {
    width: 100%;
    height: 100%;
    max-width: 178px;
    max-height: 132px;
}

.ide-cmp-charts img {
    width: 100%;
    height: 100%;
    max-width: 780px;
    max-height: 271px;
}

/** toolbar工具栏**/
.f-toolbar.farris-component-ToolBar {
    min-height: 20px;
}

.toolbar-drag.sortable-toolbar-container .component-btn-group {
    display: none !important;
}

.toolbar-drag .sortable-mirror {
    width: 0 !important;
}

.toolbar-drag .sortable-mirror.sortable-chosen .btn.dropdown-toggle.dropdown-toggle-split {
    display: none;
}

.toolbar-drag .btn-primary.disabled+.dropdown-toggle, .toolbar-drag .btn-secondary.disabled+.dropdown-toggle {
    color: #878D99;
    background: #EAECF3;
    border-color: #DEE1EA;
}


.ide-header-toolbar-lg .toolbar-drag .btn:not(.component-settings-button):not(.dropdown-toggle) {
    padding: 0.25rem 1.125rem;
    font-size: .875rem;
    line-height: 1.4286;
    border-radius: 3px;
}

.ide-header-toolbar-lg .toolbar-drag .btn.dropdown-toggle.dropdown-toggle-split {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: .875rem;
}

.toolbar-drag .cascadeToolbar .btn:not(.component-settings-button) {
    padding-right: 30px;
}

/** 标签页Tab **/
.farris-component-Tab .farris-tabs .farris-tabs-header .farris-tabs-title.scroll-tabs .nav-item {
    background-color: white;
}

.farris-component-Tab .farris-tabs .farris-tabs-header .farris-tabs-title.scroll-tabs .nav-item.gu-mirror {
    position: fixed !important;
}

.farris-component-Tab .farris-tabs .farris-tabs-header .farris-tabs-title.scroll-tabs .farris-nav-tabs.gu-unselectable .component-btn-group {
    display: none;
}

.farris-component-Tab .farris-tabs .farris-tabs-header.farris-tabs-inContent.hasToolbar .farris-tabs-toolbar {
    width: 100%;
}

.farris-component-Tab .farris-tabs .farris-tabs-header.farris-tabs-inContent .farris-tabs-toolbar .farris-tabs-inline-flex {
    display: flex;
}

/** 为了方便拖拽，区块上下增加间距 */
.f-page.f-page-card .f-struct-like-card>.drag-container, .f-component-splitter-pane.f-page-content-main {
    padding-top: 10px;
    padding-bottom: 10px;
}

/** 布局容器 ResponseLayout  **/
.response-layout {
    border: dotted 2px #e8e8e8;

}

.response-layout .response-layout-item {
    border-right: dotted 2px #e8e8e8;

}

.response-layout .response-layout-item:not(:last-child) {
    padding-right: 8px !important;
}

/** 子列表填充布局：若没有这个，struct-wrapper内部放任意容器的时候，无法出现滚动条 **/
.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child {
    overflow: hidden;
}

/** 子列表填充布局：设计器section的适配样式 **/
.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section-in-mainsubcard {
    height: 100%
}

.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section-in-main {
    height: 100%
}

.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section.f-section-fill>.f-section-content {
    flex-basis: 0%;
}

/** 子列表填充布局：标签页的滚动条要放到tab-body上，所以整个tab上设置overflow:hidden **/
.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section .f-component-tabs .f-tabs-content-fill {
    overflow: hidden;
}

/** 子列表填充布局：标签页下直接放组件节点（附件组件、卡片组件）的场景要设置组件填充，否则组件无法显示 **/
.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section .f-component-tabs .f-tabs-content-fill .farris-tabs-body>.farris-component-Component {
    flex: 1;
}

/** 子列表填充布局：目的是为了让标签页tab-body出现滚动条。因为设计时的section强制添加了f-utils-fill 样式，所以要覆盖掉他的overflow:hidden，否则无法出现滚动条 **/
.f-page-child-fill .f-struct-wrapper.f-struct-wrapper-child .f-section .f-component-tabs .f-tabs-content-fill .farris-tabs-body .f-section.ide-cmp-section {
    overflow: unset;
}